package com.atguigu.tingshu.album.service;

import com.atguigu.tingshu.model.album.TrackInfo;
import com.atguigu.tingshu.query.album.TrackInfoQuery;
import com.atguigu.tingshu.vo.album.*;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface TrackInfoService extends IService<TrackInfo> {

    void saveTrackInfo(TrackInfoVo trackInfoVo,Long userId);

   Page<TrackListVo> getUserTrackPage(Page<TrackListVo> trackInfoVoPage, TrackInfoQuery trackInfoQuery);

    Page<AlbumTrackListVo> findAlbumTrackPage(Long userId, Long albumId, Page<AlbumTrackListVo> trackListPage);

    void updateTrackStat(TrackStatMqVo trackStatVo);

    TrackStatVo getTrackStatVo(Long trackId);
}
